package com.xbongbong.pro.statistic.pojo;

import com.alibaba.fastjson.JSONArray;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;


/**
 * 部门pk方案简单类
 *
 * @author 徐俊杰
 * @version v1.0
 * @date 2019/3/21 10:40
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class DepartmentPkPojo implements Serializable {
    private static final long serialVersionUID = -4599299509514603184L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 方案名称
     */
    private String name;
    /**
     * 存放参与对比的各个部门，及它们是否包含下属部门。JsonArray格式的字符串，[{"id": depId,"name":"部门名","includeSub": true}]。true表示包含, false表示不包含
     */
    private JSONArray depIncludeSub;
    /**
     * 方案排序，从小到大排序
     */
    private Integer sort;
}
